<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>提示</title>
</head>
<body>
<% int flag=(int)request.getAttribute("flag");
	if(flag==1){
%>
<p>注册成功！</p><a href="login.jsp">点击返回登录</a>
<%}else{ %>
<p>注册失败</p><a href="register.jsp">点击返回注册</a>
<%} %>
</body>
</html>